package com.suray.attendance.db.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.suray.attendance.model.pojo.ProductionDataCollectDetailInfo;

/**
 * Description: erp报工明细模块的数据库业务接口层
 * Author: linyu
 * Date: 2023/11/29
 */
public interface ProductionDataCollectDetailInfoDBService  extends IService<ProductionDataCollectDetailInfo> {

    /**
    * @Description: 新增erp考勤报工的明细数据至数据库
    * @Param: []
    * @return: void
    * @Author: jly
    * @Date: 2023/11/29
    */
    public Boolean add(ProductionDataCollectDetailInfo productionDataCollectDetailInfo);

    /**
    * @Description: 防止ERP的数据重复提交至宜搭
    * @Param: [productionDataCollectDetailInfo]
    * @return: java.lang.Boolean
    * @Author: jly
    * @Date: 2023/11/30
    */
    public ProductionDataCollectDetailInfo getProductionDataCollectDetailInfoByErpId(String erpId);
}
